﻿<controlli:BaseCusControl  x:Class="DocManagerControls.Controls.UtentiControl"
             xmlns:controlli="clr-namespace:DocManagerControls.Controls"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" JournalEntry.Name="Gestione Utenti"
             MinHeight="300" MinWidth="400" Width="Auto">
    <TabControl HorizontalAlignment="Left" Margin="10,10,0,0" Name="tabControl1" VerticalAlignment="Top" Width="Auto">
        <TabItem Header="Utenti" Name="tabItem1">
            <StackPanel>
                  <ListView Name="lstUtenti" Height="300"  Width="250" Margin="2" />
            </StackPanel>
        </TabItem>
        <TabItem Header="Utenti A.Dir" Name="tabItem2">
            <StackPanel>
                <ListView Name="lstUtentiActDir" Height="300"  Width="250" Margin="2" />
            </StackPanel>
        </TabItem>
        <TabItem Header="Nuovo \ Modifica" Name="tabItem3">
            <StackPanel>

                <TextBlock Name="txtMessaggi" Margin="5">***</TextBlock>
                
                <StackPanel Orientation="Horizontal" Margin="3">
                    <Label Content="Nome utente" Width="100"></Label>
                    <TextBox Name="txtUserName" Width="200"></TextBox>
                </StackPanel>

                <StackPanel Orientation="Horizontal" Margin="3">
                    <Label Content="Password" Width="100"></Label>
                    <TextBox Name="txtPassword" Width="200"></TextBox>
                </StackPanel>

                <StackPanel Orientation="Horizontal" Margin="3">
                    <Label Content="Password" Width="100"></Label>
                    <TextBox Name="txtPassword2" Width="200"></TextBox>
                </StackPanel>

                <StackPanel Orientation="Horizontal" Margin="3">
                    <Label Content="Email" Width="100"></Label>
                    <TextBox Name="txtEmail" Width="200"></TextBox>
                </StackPanel>

                <StackPanel Orientation="Horizontal" Margin="3">
                    <Label Content="Ruolo" Width="100"></Label>
                    <ComboBox Name="cmbRuoli" Width="200"></ComboBox>
                </StackPanel>

                <StackPanel Orientation="Horizontal" HorizontalAlignment="Center" Margin="5">
                    <Button Name="btnCreaUtente" Content="Crea nuovo" Click="btnCreaUtente_Click" Height="23" 
                            Width="75" Margin="5" />

                    <Button Name="btnModificaUtente" Content="Modifica" Click="btnCreaUtente_Click" Height="23" 
                            Width="75" Margin="5" />
                </StackPanel>
            </StackPanel>
        </TabItem>
    </TabControl>

    
  
</controlli:BaseCusControl>
